package ltd.bugs.cute.httpclient.exception;

/**
 * 重定向异常
 * 
 * @author zhengzhq
 *
 */
public class RedirectException extends RuntimeException {

  private static final long serialVersionUID = -5546332334714383652L;
  private String url;

  public RedirectException(String message, String url) {
    super(message);
    this.url = url;
  }

  public RedirectException(String url) {
    this.url = url;
  }

  public String getUrl() {
    return this.url;
  }
}
